﻿Imports System.Data.SqlClient

Public Class dataprovider
    Public Shared Function Connection()
        Dim connetionString As String
        Dim cnn As SqlConnection
        'Connection String máy của Huyền:
        'connetionString = "Data Source=.;Initial Catalog=QLyBanChau;Integrated Security=True"
        'Connection String máy của Huy:
        connetionString = "Data Source=LUVKJD-PC;Initial Catalog=QuanLyBanChau;Integrated Security=True"
        cnn = New SqlConnection(connetionString)
        cnn.Open()
        Return cnn
        End
    End Function
End Class
